help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 6 months ago
I'm on the latest joomla/php/mysql I got an update to jem and it said as per subject, I fixed it previously and fixed it again. will I need to keep fixing it at update. No big deal just asking as I have to keep altering the language to english uk style instead of american (zip/postcode state/county) whenever there's an update.
Please Log in or Create an account to join the conversation.
Re: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 6 months ago
Hi gnarly, thanks for reporting.
Did I get you right:
Because of the deprecated notation of strings, the language setting is not preserved correctly on update and you have to set it again manually?
Could you tell us more precicely, where the deprecated notation is (there are quite some left, but we are on the way to update them step by step)
Did I get you right:
Because of the deprecated notation of strings, the language setting is not preserved correctly on update and you have to set it again manually?
Could you tell us more precicely, where the deprecated notation is (there are quite some left, but we are on the way to update them step by step)
Please Log in or Create an account to join the conversation.
Re: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 6 months ago
Sorry I was being lazy and copied the deprecated message into the subject which cut it short.
as its a notification it's not important but it's on line 277 of /classes/
JemHelper::addLogEntry("User ${userid} is not permritted to remove attachment " . $res->object, __METHOD__);
${userid} should be {$userid} it's the same on line 282 and I've only just noticed permritted should be permitted.
The language file en-GB should use County instead of STATE and ZIP should be Postcode.
I'm not clever enough to do overrides so if there's an update I have to change it back.
as its a notification it's not important but it's on line 277 of /classes/
JemHelper::addLogEntry("User ${userid} is not permritted to remove attachment " . $res->object, __METHOD__);
${userid} should be {$userid} it's the same on line 282 and I've only just noticed permritted should be permitted.
The language file en-GB should use County instead of STATE and ZIP should be Postcode.
I'm not clever enough to do overrides so if there's an update I have to change it back.
Please Log in or Create an account to join the conversation.
Re: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 6 months ago
For some reason the "/classes/" got cut.
Please Log in or Create an account to join the conversation.
Re: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 6 months ago
It looks like the file name is being stripped - attachment dot class.
Please Log in or Create an account to join the conversation.
Re: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /homepa
1 year 5 months ago - 1 year 5 months ago
Hi Forum
I got following in Single Event View when Event with Files Attached
I run
JEM 4.1.0
PHP 8.2.10
JOOMLA 4.3.4
Maybe a PHP Version related Issue?
EDIT: with PHP 8.1 no error appear, file are show up. So I switched again to 8.2. and also no error appear anymore. Ghost Hunting? :blink:
Best Regards, Marcel
Test Site:
jem4.j-host.ch with PHP 8.1. 23
I got following in Single Event View when Event with Files Attached
Code:
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/www/jem4.j-host.ch/components/com_jem/classes/attachment.class.php on line 277
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/www/jem4.j-host.ch/components/com_jem/classes/attachment.class.php on line 282
I run
JEM 4.1.0
PHP 8.2.10
JOOMLA 4.3.4
Maybe a PHP Version related Issue?
EDIT: with PHP 8.1 no error appear, file are show up. So I switched again to 8.2. and also no error appear anymore. Ghost Hunting? :blink:
Best Regards, Marcel
Test Site:
jem4.j-host.ch with PHP 8.1. 23
Last edit: 1 year 5 months ago by pctech.
Please Log in or Create an account to join the conversation.
Time to create page: 0.582 seconds